
public class TitleDeed {
	private int[] rentEstate = new int[6];
	private int[] rentAirport = new int[4];
	private int[] rentUtility = new int[2];
	private int mortgageValue;
	private int redeemValue;
	private int houseCost;
	//1 = estate
	//2 = airport
	//3 = utility
	
	public TitleDeed(int rent0, int rent1, int rent2, int rent3, int rent4, int rent5, int mortgageValue, int houseCost){
		this.rentEstate[0] = rent0;	//normal rent
		this.rentEstate[1] = rent1;	//with 1 house
		this.rentEstate[2] = rent2;	//with 2 houses
		this.rentEstate[3] = rent3;	//with 3 houses
		this.rentEstate[4] = rent4;	//with 4 houses
		this.rentEstate[5] = rent5;	//with hotel
		this.setMortgageValue(mortgageValue);
		this.setRedeemValue((int) (mortgageValue*1.1));
		this.houseCost = houseCost;	//for buying houses
	}
	
	public TitleDeed(int airport1, int airport2, int airport3, int airport4, int mortgageValue){
		this.rentAirport[0] = airport1;	//owns 1 airport
		this.rentAirport[1] = airport2;	//owns 2 airports
		this.rentAirport[2] = airport3;	//owns 3 airports
		this.rentAirport[3] = airport4;	//owns 4 airports
		this.setMortgageValue(mortgageValue);
		this.setRedeemValue((int) (mortgageValue*1.1));

	}
	
	public TitleDeed(int utility1, int utility2, int mortgageValue){
		this.rentUtility[0] = utility1;	//owns 1 utility
		this.rentUtility[1] = utility2;	//owns 2 utilities
		this.setMortgageValue(mortgageValue);
		this.setRedeemValue((int) (mortgageValue * 1.1));

	}


	public void setRentEstate(int[] rentEstate) {
		this.rentEstate = rentEstate;
	}


	public int[] getRentEstate() {
		return rentEstate;
	}


	public void setRentAirport(int[] rentAirport) {
		this.rentAirport = rentAirport;
	}


	public int[] getRentAirport() {
		return rentAirport;
	}

	public void setRentUtility(int[] rentUtility) {
		this.rentUtility = rentUtility;
	}

	public int[] getRentUtility() {
		return rentUtility;
	}

	public void setHouseCost(int houseCost) {
		this.houseCost = houseCost;
	}

	public int getHouseCost() {
		return houseCost;
	}

	public void setMortgageValue(int mortgageValue) {
		this.mortgageValue = mortgageValue;
	}

	public int getMortgageValue() {
		return mortgageValue;
	}

	public void setRedeemValue(int redeemValue) {
		this.redeemValue = redeemValue;
	}

	public int getRedeemValue() {
		return redeemValue;
	}

}
